package cn.wsalix.templet.repository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import cn.anlaser.repository.SimpleRepository;
import cn.wsalix.templet.entity.TempletPagePlace;

public interface TempletPagePlaceRepository extends SimpleRepository<TempletPagePlace> {
	@Query("select u from TempletPagePlace u where u.placeCode = :placeCode")
	TempletPagePlace findByPlaceCodeOne(@Param("placeCode") String placeCode);

}
